package googlemap;

/**
 * Created by Connor Madden.
 * User: Connor Madden
 * Date: 5/04/12
 * Time: 3:23 PM
 */
public class LatLng {
    private double lat,
            lng;

    public LatLng(double lat, double lng) {
        this.lat = lat;
        this.lng = lng;
    }

    public double getLat() {
        return lat;
    }

    public double getLng() {
        return lng;
    }

    /**
     * Returns a string representation of this coordinate and its location
     * in the {@code (Latitude,Longitude)} coordinate space. This method is
     * intended to be used only for debugging purposes, and the content
     * and format of the returned string may vary between implementations.
     * The returned string may be empty but may not be <code>null</code>.
     *
     * @return  a string representation of this point
     */
    public String toString() {
        return getClass().getName() + "[lat=" + lat + ",lng=" + lng + "]";
    }
}
